import { get } from '@/utils/request'

/**
 * Gm
 */
export default class GmApi {
  /**
   * 原石
   */
  static async sendYs(num) {
    return get('/gm/sendYs/' + num)
  }

  /**
   * 摩拉
   */
  static async sendMl(num) {
    return get('/gm/sendMl/' + num)
  }

  /**
   * 创世结晶
   */
  static async sendCs(num) {
    return get('/gm/sendCs/' + num)
  }

  /**
   * 发送物品
   */
  static async sendItem(params) {
    return get('/gm/sendItem', params)
  }

  /**
   * 创世结晶
   */
  static async fastSend(id) {
    return get('/gm/fastSend/' + id)
  }
}
